<?php
$neewee = get_option('neewee');
$color_scheme = isset($neewee['color_scheme']) ? $neewee['color_scheme'] : 'blue';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
	
	<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; <?php _e('Blog Archive', 'NeeWee');?> <?php } ?> <?php wp_title(); ?></title>
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory');?>/js/jquery-1.2.6.min.js" charset="utf-8"></script>
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory');?>/js/jquery.ui.1.5.min.js" charset="utf-8"></script>
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory');?>/js/superfish.js" charset="utf-8"></script>
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory');?>/js/neewee.js" charset="utf-8"></script>
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory');?>/blueprint/screen.css" type="text/css" media="screen, projection" />
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory');?>/blueprint/print.css" type="text/css" media="print" /> 
	<!--[if IE]>
	  <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory');?>/blueprint/ie.css" type="text/css" media="screen, projection" />
	<![endif]-->
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory');?>/style.css" type="text/css" media="screen, projection" />
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory');?>/color_scheme_<?php echo($color_scheme); ?>.css" type="text/css" media="screen, projection" />
	<!--link rel="stylesheet" href="<?php bloginfo('stylesheet_directory');?>/superfish.css" type="text/css" media="screen, projection" /-->
	<?php if($neewee['feedburner_feed_url'] == '') {?>  
	<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e('RSS Feed', 'NeeWee');?>" href="<?php bloginfo('rss2_url'); ?>" />
	<?php } else { ?>
	<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?>  <?php _e('RSS Feed', 'NeeWee');?>" href="<?php echo($neewee['feedburner_feed_url']); ?>" />	
	<?php }?>
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	
	
	<?php wp_head(); ?>

</head>
<body>
<div class="container">
	<div id="navigation" class="clearfix"><ul class="sf-menu">
	<li><a<?php if(is_home()){?> class="current"<?php }?> href="<?php echo(get_bloginfo('home')); ?>"><?php _e('Home', 'NeeWee');?></a></li>
	  <?php wp_list_pages('title_li=' ); ?>
	</ul>
	<div id="subscribe">
		<?php if($neewee['feedburner_feed_url'] == '') {?>
		<a href="<?php bloginfo('rss2_url'); ?>"><?php _e('Subscribe to RSS', 'NeeWee');?></a>
		<?php } else { ?>
			<a href="<?php echo($neewee['feedburner_feed_url']); ?>"><?php _e('Subscribe to RSS', 'NeeWee');?></a>
		<?php }?>
		<?php if($neewee['feedburner_email_id'] != '') {?>
			<?php _e('or', 'NeeWee');?> <a target="_blank" href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=<?php echo($neewee['feedburner_email_id']); ?>&amp;loc=en_US"><?php _e('Subscribe via E-mail', 'NeeWee');?></a>
		<?php }?>		
	</div>
	</div>
	<script type="text/javascript" charset="utf-8">
		
		// $("#navigation .sf-menu").superfish({ 
		// 		            pathClass:  'current',
		// 					delay:         300,                // the delay in milliseconds that the mouse can remain outside a submenu without it closing 
		// 					speed:         'fast' 
		// 		        });
	</script>
	<div id="header">
		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
		<h2><?php bloginfo('description'); ?></h2>
		<div id="search"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div>
	</div>
	<hr />
	
	
	
